From: Karl Heuer Date: Tue, 20 Sep 1994 05:13:22 +0000 (+0000) Subject: (window_internal_width): Change VERTICAL_SCROLL_BAR_WIDTH to X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~90119 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ca0d0bb971545883b50659742978c6f78275817c;p=emacs.git (window_internal_width): Change VERTICAL_SCROLL_BAR_WIDTH to FRAME_SCROLL_BAR_COLS. --- diff --git a/src/window.c b/src/window.c index b2a25bd48ac..7f172486426 100644 --- a/src/window.c +++ b/src/window.c @@ -2340,7 +2340,7 @@ window_internal_width (w) /* Scroll bars occupy a few columns. */ if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) - return width - VERTICAL_SCROLL_BAR_WIDTH; + return width - FRAME_SCROLL_BAR_COLS (f); /* The column of `|' characters separating side-by-side windows occupies one column only. */